/*
 * @Author: your name
 * @Date: 2020-10-06 09:28:00
 * @LastEditTime: 2021-01-15 11:39:57
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \longh_web\src\apis\Home.js
 */

import request from '@/utils/request'

//用户中心添加解决方案列表
export function AddUsersolutionInfo(data) {
    return request({
        url: '/wenge/microservice-supply-consumer-web/user/solutionInfo/add',
        method: 'POST',
        data
    })
}


//用户中心获取解决方案列表
export function getUserMySolutionInfoPageList(data) {
    return request({
        url: '/wenge/microservice-supply-consumer-web/user/solutionInfo/getMySolutionInfoPageList',
        method: 'POST',
        data
    })
}


// 删除

export function deletesolutionInfo(data) {
    return request({
        url: '/wenge/microservice-supply-consumer-web/user/solutionInfo/delete',
        method: 'POST',
        data
    })
}


// 获取详情

export function getsolutionInfo(data) {
    return request({
        url: '/wenge/microservice-supply-consumer-web/user/solutionInfo/info',
        method: 'POST',
        data
    })
}


// 修改
export function updatesolutionInfo(data) {
    return request({
        url: '/wenge/microservice-supply-consumer-web/user/solutionInfo/update',
        method: 'POST',
        data
    })
}


//上下架
export function updateSolutionStatus(data) {
    return request({
        url: '/wenge/microservice-supply-consumer-web/user/solutionInfo/updateSolutionStatus',
        method: 'POST',
        data
    })
}



